<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>客户主数据明细表</title>
    <link rel="stylesheet" href="../../libs/bootstrap.min.css">
    <link rel="stylesheet" href="../../libs/thirdly/font-awesome.min.css">
    <link rel="stylesheet" href="../../libs/jqGrid/ui.jqgrid-bootstrap.css">
    <link rel="stylesheet" href="../../css/common.css">
    <link rel="stylesheet" href="../../css/MDM/MDM001402.css">

    <script src="../../libs/jquery.min.js"></script>
    <script src="../../libs/jquery-ui.js"></script>
    <script src="../../libs/jqGrid/grid.locale-cn.js"></script>
    <script src="../../libs/jqGrid/jquery.jqGrid.min.js"></script>

    <script src="../../js/config.js"></script>

</head>
<body>
    <div class="m_wrapper">
        <aside class="u_menu_container">
        </aside>
        <section class="u_wrapper">
            <header>
                <div class="u_header">
                    <h2>客户主数据明细表</h2>
                </div>
            </header>
            <div class="u_content_wrapper">
                <div class="u_toolbar u_user">
                    <ul class="u_toolgroup">
                        <li class="u_tool" data-opt="u_save">
                            <i class="fa fa-save"></i>
                            <span>保存</span>
                        </li>
                        <li class="u_tool" data-opt="back">
                            <i class="fa fa-reply"></i>
                            <span>返回</span>
                        </li>
                    </ul>
                </div>
                <div class="u_contents clearfix">
                    <div class="u_row">
                        <div class="u_col_6x">
                            <div class="u_block_content">
                                <div class="form-horizontal">
                                    <div class="form-group">
                                        <label class="data-label">代码</label>
                                        <div class="data-input">
                                            <input class="form-control" type="text" disabled placeholder="自动生成..." id="ItemCode">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="data-label">状态</label>
                                        <div class="data-input">
                                            <select class="form-control" disabled id="ItemStatus">
                                                <option value="O">活跃</option>
                                                <option value="I">不活跃</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="data-label">名称</label>
                                        <div class="data-input">
                                            <input class="form-control" type="text" value="" id="ItemName">
                                        </div>
                                    </div> 
                                    <div class="form-group">
                                        <label class="data-label">开票类型</label>
                                        <div class="data-input">
                                            <select class="form-control" id="ItemCardType">
                                                <option value="1">增值税专用发票</option>
                                                <option value="2">增值税普通发票(公司）</option>
                                                <option value="3">增值税普通发票（个人）</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="data-label">客户来源</label>
                                        <div class="data-input">
                                            <select class="form-control" id="ItemCusSource">
                                                <option value="1">PC</option>
                                                <option value="2">微官网</option>
                                                <option value="3">APP</option>
                                                <option value="4">线下销售</option>
                                                <option value="5">呼叫中心</option>
                                                <option value="6">卖场</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="u_col_6x">
                            <div class="u_block_content">
                                <div class="form-horizontal">
                                    <div class="form-group">
                                        <label class="data-label">客服</label>
                                        <div class="data-input">
                                            <input class="form-control" type="text" value="" id="ItemCS">
                                        </div>
                                    </div> 
                                    <div class="form-group">
                                        <label class="data-label">销售员</label>
                                        <div class="data-input">
                                            <input class="form-control" type="text" value="" id="ItemSaler">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="data-label">销售员电话</label>
                                        <div class="data-input">
                                            <input class="form-control" type="text" value="" id="ItemSalerPhone">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="data-label">销售经理</label>
                                        <div class="data-input">
                                            <input class="form-control" type="text" value="" id="ItemSalerManager">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="data-label">付款条款</label>
                                        <div class="data-input">
                                            <select class="form-control" type="text" value="" id="ItemPayMent">
                                                <option></option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="u_tabs_container">
                        <ul class="u_tabs clearfix">
                            <li class="u_tab u_tab_active" data-tab="MDM001401">开票信息</li>
                            <li class="u_tab" data-tab="MDM001402">联系人</li>
                            <li class="u_tab" data-tab="MDM001403">收货地址</li>
                        </ul>
                    </div>
                    <ul class="u_panes clearfix">
                        <li class="u_pane u_pane_active" data-tab="MDM001401">
                            <div class="u_row">
                                <div class="u_col_6x">
                                    <div class="u_block_content">
                                        <div class="form-horizontal">
                                            <div class="form-group">
                                                <label class="data-label">单位</label>
                                                <div class="data-input">
                                                    <input class="form-control" type="text" value="" id="ItemCompanyName">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="data-label">开户行</label>
                                                <div class="data-input">
                                                    <input class="form-control" type="text" value="" id="ItemOpeningBank">
                                                </div>
                                            </div> 
                                            <div class="form-group">
                                                <label class="data-label">电话</label>
                                                <div class="data-input">
                                                    <input class="form-control" type="text" value="" id="ItemLPhone">
                                                </div>
                                            </div> 
                                            <div class="form-group">
                                                <label class="data-label">地址</label>
                                                <div class="data-input">
                                                    <input class="form-control" type="text" value="" id="ItemLaddress">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="data-label">账号</label>
                                                <div class="data-input">
                                                    <input class="form-control" type="text" value="" id="ItemBankAccount">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="data-label">税号</label>
                                                <div class="data-input">
                                                    <input class="form-control" type="text" value="" id="ItemDutyNo">
                                                </div>
                                            </div> 
                                            <div class="form-group">
                                                <label class="data-label">信用代码</label>
                                                <div class="data-input input-exp">
                                                    <input class="form-control" type="text" value="" id="ItemCreditCode">
                                                    <i class="fa fa-paste" title="复制税号"></i>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class="u_pane" data-tab="MDM001402">
                            <div class="u_block_content">
                                <div class="u_btns">
                                    <a class="u_btn btn btn-info" id="item02_add">
                                        <i class="fa fa-plus"></i>
                                        添&nbsp;加
                                    </a>
                                </div>
                                <div class="u_table_container">
                                    <table id="jgTable02"></table>
                                    <div id="jgPager02"></div>
                                </div>
                            </div>
                        </li>
                        <li class="u_pane" data-tab="MDM001403">
                            <div class="u_block_content">
                                <div class="u_btns">
                                    <a class="u_btn btn btn-info" id="item03_add">
                                        <i class="fa fa-plus"></i>
                                        添&nbsp;加
                                    </a>
                                </div>
                                <div class="u_table_container">
                                    <table id="jgTable03"></table>
                                    <div id="jgPager03"></div>
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </section>
    </div>

<!-- 自定义模态框 -->
<div id="add02" class="modal-overlay hidden">
    <div class="modal-data">
        <i class="u_restore"></i>
        <!-- 头部 -->
        <div class="u_modal_header">
            <ul class="list-inline pull-right">
                <li class="u_title u_close">
                    <i class="glyphicon glyphicon-remove"></i>
                </li>
            </ul>
        </div>
        <!-- 主体 -->
        <div class="u_modal_body">
            <div class="form-horizontal">
                <div class="form-group">
                    <label class="data-label">代码</label> 
                    <div class="data-input">
                        <input class="form-control" id="m_UserCode" type="text" disabled placeholder="自动生成...">  
                    </div>
                </div>
                <div class="form-group">
                    <label class="data-label">姓名</label> 
                    <div class="data-input">
                        <input class="form-control" id="m_UserName" type="text">  
                    </div>
                </div>
                <div class="form-group">
                    <label class="data-label">手机</label> 
                    <div class="data-input">
                        <input id="m_CellPhoneNo" class="form-control" type="text">  
                    </div>
                </div>
                <div class="form-group">
                    <label class="data-label">座机</label> 
                    <div class="data-input">
                        <input id="m_PhoneNO" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="u_footer pull-left">
                <button type="button" class="btn btn-success" id="sbt02">
                    <i class="fa fa-save"></i>
                    确&nbsp;定
                </button>
            </div>
        </div>
    </div>
</div>

<!-- 自定义模态框 -->
<div id="add03" class="modal-overlay hidden">
    <div class="modal-data">
        <i class="u_restore"></i>
        <!-- 头部 -->
        <div class="u_modal_header">
            <ul class="list-inline pull-right">
                <li class="u_title u_close">
                    <i class="glyphicon glyphicon-remove"></i>
                </li>
            </ul>
        </div>
        <!-- 主体 -->
        <div class="u_modal_body">
            <div class="form-horizontal">
                <div class="form-group">
                    <label class="data-label">行号</label>
                    <div class="data-input">
                        <input disabled class="form-control" type="text" value="" id="ItemLineID">
                    </div>
                </div>
                <div class="form-group">
                    <label class="data-label">省</label>
                    <div class="data-input">
                        <select class="form-control" type="text" value="" id="ItemProvince">
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="data-label">市</label>
                    <div class="data-input">
                        <select class="form-control" type="text" value="" id="ItemCity">
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="data-label">区</label>
                    <div class="data-input">
                        <select class="form-control" type="text" value="" id="ItemArea">
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="data-label">街道</label>
                    <div class="data-input">
                        <select class="form-control" type="text" value="" id="ItemStreet">
                        </select>
                    </div>
                </div>    
                <div class="form-group">
                    <label class="data-label">详细地址</label>
                    <div class="data-input">
                        <textarea class="form-control" type="text" value="" id="ItemAddress"></textarea>
                    </div>
                </div>
            </div>
            <div class="u_footer pull-left">
                <button type="button" class="btn btn-success" id="sbt03">
                    <i class="fa fa-save"></i>
                    添&nbsp;加
                </button>
            </div>
        </div>
    </div>
</div>

<script src="../../js/publicTpl.js"></script>
<script src="../../js/common.js"></script>
<script src="../../js/publicGrid.js"></script>
<script src="../../js/MDM/MDM001402.js"></script>

</body>
</html>